package com.imooc.pojo.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author lihongyu
 * @CreateTime 2021-10-14 14:16
 * @Description 购物车商品视图封装实体
 */
@ApiModel("购物车商品视图封装实体")
public class ShopcartVO implements Serializable {

    /**
     * 商品ID
     */
    @ApiModelProperty(name = "itemId",value = "商品ID",dataType = "String")
    private String itemId;

    /**
     * 商品图片地址
     */
    @ApiModelProperty(name = "itemImgUrl",value = "商品图片地址",dataType = "String")
    private String itemImgUrl;

    /**
     * 商品名称
     */
    @ApiModelProperty(name = "itemName",value = "商品名称",dataType = "String")
    private String itemName;

    /**
     * 规格id
     */
    @ApiModelProperty(name = "specId",value = "规格id",dataType = "Integer")
    private String specId;

    /**
     * 规格名称
     */
    @ApiModelProperty(name = "specName",value = "规格名称",dataType = "String")
    private String specName;

    /**
     * 优惠价
     */
    @ApiModelProperty(name = "priceDiscount",value = "优惠价",dataType = "Integer")
    private Integer priceDiscount;

    /**
     * 原价
     */
    @ApiModelProperty(name = "priceNormal",value = "原价",dataType = "Integer")
    private Integer priceNormal;

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getItemImgUrl() {
        return itemImgUrl;
    }

    public void setItemImgUrl(String itemImgUrl) {
        this.itemImgUrl = itemImgUrl;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Integer getPriceDiscount() {
        return priceDiscount;
    }

    public void setPriceDiscount(Integer priceDiscount) {
        this.priceDiscount = priceDiscount;
    }

    public Integer getPriceNormal() {
        return priceNormal;
    }

    public void setPriceNormal(Integer priceNormal) {
        this.priceNormal = priceNormal;
    }

    @Override
    public String toString() {
        return "ShopcartVO{" +
                "itemId='" + itemId + '\'' +
                ", itemImgUrl='" + itemImgUrl + '\'' +
                ", itemName='" + itemName + '\'' +
                ", specId=" + specId +
                ", specName='" + specName + '\'' +
                ", priceDiscount=" + priceDiscount +
                ", priceNormal=" + priceNormal +
                '}';
    }
}
